<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="UserField,com.vk.api.lib.UserField,BDATE,CITY,COUNTRY,FIRST_NAME,HAS_MOBILE,LAST_NAME,NICKNAME,PHOTO,PHOTO_BIG,PHOTO_MEDIUM,RATE,SEX,TIMEZONE,UID" name="keywords">
<title>com.vk.api.lib.UserField</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'UserField - Документация apivk';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">apivk.googlecode.com</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/vk/api/lib/UserField.html&amp;com/vk/api/lib/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;UserField</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#constantSummary">Constants</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class UserField"); titleBar_setSubNav(true,false,false,false,false,false,false,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.vk.api.lib</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class UserField</td>
</tr>
</table>
<p></p>
  Описание полей анкеты, используемые в методе <code>User.getProfiles</code>
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="User.html#getProfiles()" target="">User.getProfiles()</a>
</div>
<br>
<hr>
</div>
<a name="constantSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Constants</div>
<table id="summaryTableConstant" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#BDATE">BDATE</a> : String = "bdate"<div class="summaryTableDescription">[static]
   День рождения.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#CITY">CITY</a> : String = "city"<div class="summaryTableDescription">[static]
   Город.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#COUNTRY">COUNTRY</a> : String = "country"<div class="summaryTableDescription">[static]
   Страна.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#FIRST_NAME">FIRST_NAME</a> : String = "first_name"<div class="summaryTableDescription">[static]
      </div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#HAS_MOBILE">HAS_MOBILE</a> : String = "has_mobile"<div class="summaryTableDescription">[static]
   Известен ли номер мобильного телефона пользователя.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#LAST_NAME">LAST_NAME</a> : String = "last_name"<div class="summaryTableDescription">[static]
      </div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#NICKNAME">NICKNAME</a> : String = "nickname"<div class="summaryTableDescription">[static]
   Никнейм.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#PHOTO">PHOTO</a> : String = "photo"<div class="summaryTableDescription">[static]
   Фото шириной 50 пикселей.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#PHOTO_BIG">PHOTO_BIG</a> : String = "photo_big"<div class="summaryTableDescription">[static]
   Фото шириной 200 пикселей.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#PHOTO_MEDIUM">PHOTO_MEDIUM</a> : String = "photo_medium"<div class="summaryTableDescription">[static]
   Фото шириной 100 пикселей.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#RATE">RATE</a> : String = "rate"<div class="summaryTableDescription">[static]
   Рейтинг пользователя
   </div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#SEX">SEX</a> : String = "sex"<div class="summaryTableDescription">[static]
   Пол пользователя.</div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#TIMEZONE">TIMEZONE</a> : String = "timezone"<div class="summaryTableDescription">[static]
   
   </div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#UID">UID</a> : String = "uid"<div class="summaryTableDescription">[static]
   
   </div>
</td><td class="summaryTableOwnerCol">UserField</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constantDetail"></a>
<div class="detailSectionHeader">Constant detail</div>
<a name="BDATE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">BDATE</td><td class="detailHeaderType">constant</td>
</tr>
</table>
<div class="detailBody">
<code>public static const BDATE:String = "bdate"</code><p>
   День рождения.
   </p><p>Дата выдаётся в формате: "23.11.1981" или
   "21.9" (если год скрыт).  Если дата рождения скрыта целиком,
   то при приёме данных в формате XML в узле <user> отсутствует
   тег bdate. </p>
   </div>
<a name="CITY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">CITY</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const CITY:String = "city"</code><p>
   Город.
   </p><p>Выдаётся id города, указанного у пользователя в
   разделе "Контакты". Название города по его id можно узнать
   при помощи метода getCities.  Если город не указан, то при
   приёме данных в формате XML в узле <user> отсутствует тег
   city.</p>
   </div>
<a name="COUNTRY"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">COUNTRY</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const COUNTRY:String = "country"</code><p>
   Страна.
   </p><p>Выдаётся id страны, указанной у пользователя в
   разделе "Контакты". Название страны по её id можно узнать при
   помощи метода getCountries.  Если страна не указана, то при
   приёме данных в формате XML в узле <user> отсутствует тег
   country. </p>
   </div>
<a name="FIRST_NAME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">FIRST_NAME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const FIRST_NAME:String = "first_name"</code><p>
      </p></div>
<a name="HAS_MOBILE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">HAS_MOBILE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const HAS_MOBILE:String = "has_mobile"</code><p>
   Известен ли номер мобильного телефона пользователя.
      </p><p>Возвращаемые значения: 1 - известен, 0 - не известен.<p>
   </div>
<a name="LAST_NAME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">LAST_NAME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const LAST_NAME:String = "last_name"</code><p>
      </p></div>
<a name="NICKNAME"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">NICKNAME</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const NICKNAME:String = "nickname"</code><p>
   Никнейм.
   </p><p>Если никнейм отсутствует, то при приёме данных в формате XML
   в узле <user> содержится пустой тег <nickname />.</p>
   </div>
<a name="PHOTO"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PHOTO</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const PHOTO:String = "photo"</code><p>
   Фото шириной 50 пикселей.
   </p><p>В случае отсутствия у пользователя фотографии выдаётся
   ответ: "images/question_c.gif"</p>
   </div>
<a name="PHOTO_BIG"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PHOTO_BIG</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const PHOTO_BIG:String = "photo_big"</code><p>
   Фото шириной 200 пикселей.
   </p><p>В случае отсутствия у пользователя фотографии выдаётся
   ответ: "images/question_a.gif"</p>
   </div>
<a name="PHOTO_MEDIUM"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PHOTO_MEDIUM</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const PHOTO_MEDIUM:String = "photo_medium"</code><p>
   Фото шириной 100 пикселей.
   </p><p>В случае отсутствия у пользователя фотографии выдаётся
   ответ: "images/question_b.gif"</p>
   </div>
<a name="RATE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">RATE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const RATE:String = "rate"</code><p>
   Рейтинг пользователя
   </p></div>
<a name="SEX"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">SEX</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const SEX:String = "sex"</code><p>
   Пол пользователя.
   </p><p>Возвращаемые значения: 1 - женский, 2 -
   мужской, 0 - без указания пола.</p>
   </div>
<a name="TIMEZONE"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">TIMEZONE</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const TIMEZONE:String = "timezone"</code><p>
   
   </p></div>
<a name="UID"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">UID</td><td class="detailHeaderType">constant</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static const UID:String = "uid"</code><p>
   
   </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">v. 2.0.4</center>
</div>
</body>
</html>
<!--v. 2.0.4-->
